//
//  JONavigationController.m
//  网易彩票
//
//  Created by song on 15/2/8.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import "JONavigationController.h"

@interface JONavigationController ()

@end

@implementation JONavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

+(void)initialize
{
    UINavigationBar *navBar =[UINavigationBar appearance];
    if([[UIDevice currentDevice].systemVersion doubleValue]>=7.0)
    {
        [navBar setBackgroundImage:[UIImage imageNamed:@"NavBar64"] forBarMetrics:UIBarMetricsDefault];
    }else{
        [navBar setBackgroundImage:[UIImage imageNamed:@"NavBar"] forBarMetrics:UIBarMetricsDefault];
        
    }
    
    NSMutableDictionary *attrs =[NSMutableDictionary dictionary];
    
    attrs[UITextAttributeTextColor] =[UIColor redColor];
    [navBar setTitleTextAttributes:attrs];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}





@end
